home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 4
/
Meeting Pearls Vol. IV (1996)(GTI - Schatztruhe)[!].iso
/
Pearls
/
dev
/
Language
/
ace
/
Prgs
/
Library
/
hello.b
< prev
next >
Wrap
Text File
|
1994-09-17
|
415b
|
19 lines
{*
** A "hello world" program which uses only
** dos.library functions. Note that FPuts and
** FPutC are only found under Wb 2.x and up
** (xWrite could be used for 1.3 systems).
**
** Must be run from a shell/CLI.
*}
DECLARE FUNCTION xOutput&() LIBRARY dos
DECLARE FUNCTION FPuts(handle&,buf$) LIBRARY dos
DECLARE FUNCTION FPutC(handle&,ch&) LIBRARY dos
fh& = xOutput
FPuts(fh&,"hello world!")
FPutC(fh&,10&)